ZPOS\API\Orders B

Total Complexity 87
Dependencies 26
Dependents 2
Total lines 607
Lines of code 457
Logical lines of code 206
Comment lines 24
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
insert_order()
A
49 10 30
payment_order()
A
54 9 22
calculate_taxes()
A
48 8 32
check_extended_permissions_to_get_order_object()
A
56 8 16
calculate_shipping_taxes()
S
55 7 20
prepare_order()
S
49 6 28
register_routes()
S
42 2 68
maybe_set_zero_status()
S
55 5 21
send_email()
S
49 4 31
__construct()
S
46 2 46
prepare_products()
S
58 4 15
print_order()
S
51 3 27
get_items_permissions_check()
S
65 4 10
prepare_coupons()
S
47 1 42
is_taxable()
S
72 3 5
get_item_permissions_check()
S
70 3 6
insert_author_order()
S
71 2 6
add_zaddon_meta()
S
68 1 8
store_order()
S
81 1 3
unstore_order()
S
81 1 3
setUser()
S
66 1 8
permission_check()
S
81 1 3
get_base_payment_page_url()
S
67 1 7